//
//  DataManager.m
//  SSC
//
//  Created by 红沙尘 on 17/6/12.
//  Copyright © 2017年 红沙尘. All rights reserved.
//

#import "DataManager.h"

@interface DataManager ()
{
    Userinfo *_userinfo;
}
@end

@implementation DataManager

- (void)dealloc {
    NSLog(@"%@ dealloc",self);
}

static DataManager *info = nil;

+ (DataManager *)standardDataManager {
    
    if (!info)
    {
        info = [[DataManager alloc] init];
    }
    
    return info;
}

- (id)init {
    self = [super init];
    
    if (self) {
        _userinfo = [[Userinfo alloc] init];
    }
    
    return self;
}

- (void)destory {
    _userinfo = nil;
    info = nil;
}

@end
